﻿ALTER TABLE [dbo].[TaskSet]
    ADD CONSTRAINT [FK_TaskTask1] FOREIGN KEY ([MasterTaskId]) REFERENCES [dbo].[TaskSet] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

